package com.scau.classOnline.entity;

import java.util.Date;

public class Schedule {
    private Integer id;

    private Integer cid;

    private String ctitle;

    private Integer timeId;

    private Date date;

    private String title;

    private Integer fileid;

    private Boolean online;

    private Boolean finished;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCtitle() {
        return ctitle;
    }

    public void setCtitle(String ctitle) {
        this.ctitle = ctitle;
    }

    public Integer getTimeId() {
        return timeId;
    }

    public void setTimeId(Integer timeId) {
        this.timeId = timeId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getFileid() {
        return fileid;
    }

    public void setFileid(Integer fileid) {
        this.fileid = fileid;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    public Boolean getFinished() {
        return finished;
    }

    public void setFinished(Boolean finished) {
        this.finished = finished;
    }

    @Override
    public String toString() {
        return "Schedule{" +
                "id=" + id +
                ", cid=" + cid +
                ", ctitle='" + ctitle + '\'' +
                ", timeId=" + timeId +
                ", date=" + date +
                ", title='" + title + '\'' +
                ", fileid=" + fileid +
                ", online=" + online +
                ", finished=" + finished +
                '}';
    }
}